#pragma once 

#include "helper/sqlite/AbstractDB.h"

namespace helper {
namespace sqlite {

class FileDB : public AbstractDB {
public: 
  explicit FileDB(const std::string & name, const std::string & dir = ".");
  ~FileDB() override ;

public:
  bool exists() const override ;
  std::error_code destroy() override ;

protected:
  std::error_code _open() override;
};

}//namespace sqlite
}//namespace helper
